package net.sahv.bdyz.service;

import java.util.List;
import java.util.Map;

import net.sahv.bdyz.mapper.AaMapper;
import net.sahv.bdyz.model.Aa;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AaService {

	@Autowired
	private AaMapper aaMapper;

	public int deleteByPrimaryKey(Integer id){
		return aaMapper.deleteByPrimaryKey(id);
	}
	
	public int updateByPrimaryKey(Aa record){
		return aaMapper.updateByPrimaryKey(record);
	}
	
	public Aa selectByPrimaryKey(int id){
		return aaMapper.selectByPrimaryKey(id);
	}
	
	public int insert(Aa record){
		return aaMapper.insert(record);
	}
	
	public List<Aa> selectAll(){
		return aaMapper.selectAll();
	}
	
	public List<Map<String, Object>> aaList(Map<String, Object> param) {
		return aaMapper.aaList(param);
	}

	public Integer aaListCount(String where) {
		return aaMapper.aaListCount(where);
	}

}
